<if condition="$table_array neq null">
    <foreach name="table_array" item="ta">
        <div class="main-message">
            <div class="row">
                <div class="col-lg-1">
                    <div class="avatar-information">
                        <img src="{$ta['headimg']}" alt="">
                        <div class="detailed-information">
                            <div class="symbol"></div>
                            <p class="detailed-title">详细信息</p>
                            <img src="{$ta['headimg']}" alt="">
                            <div class="specific-info">
                                <p class="specific-info-name">丽江</p>
                                <p class="specific-info-gender"><span class="glyphicon glyphicon-headphones gender"></span>女</p>
                            </div>
                            <div class="specific-info-edit">
                                <p>备注名：<span>张二蛋</span><span class="glyphicon glyphicon-pencil editorial-remarks"></span></p>
                                <p>地区：四川 成都 锦江</p>
                                <p>分组：
                                    <select name="" id="" class="grouping">
                                        <option value="默认分组">默认分组</option>
                                        <option value="大师健康">大师健康</option>
                                        <option value="打算">打算</option>
                                        <option value="认为">认为</option>
                                    </select>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-5">
                    <p class="message-name">{$ta['nickname']}</p>
                    <p class="message-content">{$ta['content']}</p>
                    <input type="hidden" value="{$ta['fromUsername']}" class="fromUsername">
                    <input type="hidden" value="{$ta['ToUsername']}" class="ToUsername">
                    <input type="hidden" value="{$ta['message_id']}" class="message_id">
                </div>
                <div class="col-lg-6">
                    <p class="message-state">
                        <span class="message-time">{$ta['time']}</span>
                        <span class="account-icon glyphicon glyphicon-user"></span>
                        <span class="account-name">{$ta['user_name']}</span>
                        <if condition="$ta['responseText'] eq null">
                            <span class="message-happens"></span>';
                        <else />
                            <span class="message-happens">已回复</span>
                        </if>
                        <span class="message-reply bigwe_default_btn_fff">回复</span>
                    </p>
                </div>
            </div>
            <form action="">
                <div class="reply-edit">
                <textarea name="reply-text" class="reply-text" placeholder="在此处输入你想回复的内容" onfocus="if (placeholder ==\'在此处输入你想回复的内容\'){placeholder =\'\'}" onblur="if (placeholder ==\'\'){placeholder=\'在此处输入你想回复的内容\'}" maxlength="300"></textarea>
                <p class="reply-text-title">您还能输入<span>300</span>个字</p>
                <input type="button" value="发送" class="bigwe_default_btn sub"/>
                </div>
            </form>
        </div>
    </foreach>
<else />
    <div class="no-content"><span class="glyphicon glyphicon-flash"></span>暂无消息</div>
</if>